package com.qf.microuser.user.pojo.dto;

import lombok.Data;
import org.hibernate.validator.constraints.Length;

import javax.validation.constraints.*;

/**
 * --- 天道酬勤 ---
 *
 * @author QiuShiju
 * @date 2025/11/4
 * @desc
 */
@Data
public class UserDTO {
    // 手机号
    @NotBlank
    @Size(min = 11,max = 11)
    private String phone;
    // 登录名
    private String username;
    // 密码
    @NotBlank
    private String password;
    // 邀请码
    private String inviteCode;
    // 验证码
    private String code;
}
